class GGListModel {
  int code;
  String msg;
  String time;
  List<GGCellModel> data;

  GGListModel({this.code, this.msg, this.time, this.data});

  GGListModel.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    msg = json['msg'];
    time = json['time'];
    if (json['data'] != null) {
      data = new List<GGCellModel>();
      json['data'].forEach((v) {
        data.add(new GGCellModel.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['msg'] = this.msg;
    data['time'] = this.time;
    if (this.data != null) {
      data['data'] = this.data.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class GGCellModel {
  int id;
  String title;
  String content;
  String statusText;
  String createtimeText;

  GGCellModel(
      {this.id,
      this.title,
      this.content,
      this.statusText,
      this.createtimeText});

  GGCellModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    title = json['title'];
    content = json['content'];
    statusText = json['status_text'];
    createtimeText = json['createtime_text'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['title'] = this.title;
    data['content'] = this.content;
    data['status_text'] = this.statusText;
    data['createtime_text'] = this.createtimeText;
    return data;
  }
}
